import qs from 'qs';
import { network } from '@/utils';

import { logisCenter } from '../../../../../config/Apis';

export async function queryDeliveryList(params: any) {
    return network.get(logisCenter.unmanned_list, { params });
}

// 已开通无人车学校列表
export async function querySchoolList(params: any) {
    return network.get(logisCenter.school_list, { params });
}

// 取消订单
export async function cancelUnmanned(params: any) {
    return network.post(logisCenter.unmanned_cancel, { data: params });
}

export async function queryCount(params: any) {
    return network.get(logisCenter.order_count, { params });
}

